const colleges = Mock.mock({
    "list|5":[
        {
            "id|+1":1,
             "name":function () {
                 return "学院"+this.id
             }
        }

    ]
})

const courses= Mock.mock({
    "list|3":[
        {
            "id|+1":1,
             "courseName":function () {
                return  "课程"+this.id;
             },
            "college|1": colleges.list
        }
    ]
})


Mock.mock('http://test.org/course/list','get',courses.list);